<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加新词</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a href="<?php echo url('WordBankAdmin');?>" target="_self" class="Dig"><strong>返回</strong></a>
<table width="40%%" border="0" align="center">
  <tr>
    <th width="40%" align="left" scope="col">手动添加</th>
    <th width="60%" align="left" scope="col">文件导入</th>
  </tr>
  <tr>
    <td height="103" align="center" scope="col">
    <form id="form1" name="form1" method="post" action="<?php echo url('AddNewWord', 'ManualAdd');?>">
      <table width="100%" border="0">
        <tr>
          <td>word:</td>
          <td width="100%">
            <input type="text" name="word" id="word" />
          </td>
        </tr>
        <tr>
          <td>type:</td>
          <td><label>
            <select name="type" id="type">
              <?php
			  foreach ($rowset as $row) {
                  echo "<option>".$row['type']."</option>";
			  }
			  ?>
            </select>
          </label></td>
        </tr>
        <tr>
          <td>gender:</td>
          <td><label>
            <select name="gender" id="gender">
              <option>Ag</option>
              <option>a</option>
              <option>ad</option>
              <option>an</option>
              <option>b</option>
              <option>c</option>
              <option>dg</option>
              <option>d</option>
              <option>e</option>
              <option>f</option>
              <option>g</option>
              <option>h</option>
              <option>i</option>
              <option>j</option>
              <option>k</option>
              <option>l</option>
              <option>m</option>
              <option>Ng</option>
              <option>n</option>
              <option>nr</option>
              <option>ns</option>
              <option>nt</option>
              <option>nz</option>
              <option>o</option>
              <option>p</option>
              <option>q</option>
              <option>r</option>
              <option>s</option>
              <option>tg</option>
              <option>t</option>
              <option>u</option>
              <option>vg</option>
              <option>v</option>
              <option>vd</option>
              <option>vn</option>
              <option>w</option>
              <option>x</option>
              <option>y</option>
              <option>z</option>
              <option>un</option>
            </select>
            <a href="<?php echo url('AddNewWord', 'ViewGender');?>">词性解释表</a></label></td>
        </tr>
        <tr>
          <td>score:</td>
          <td>
            <input type="text" name="score" id="score" />
          </td>
        </tr>
        <tr>
         <td></td>
         <td><label>
          <input type="submit" name="manual_add" id="manual_add" value="添加" />
        </label></td></tr>
      </table>
    
    </form>
    </td>
    <td align="center" scope="col">开发中...</td>
  </tr>
</table>

</body>